package top.tangyh.lamp.care.service;

import org.apache.ibatis.executor.BatchResult;
import top.tangyh.basic.base.service.SuperService;
import top.tangyh.lamp.care.entity.BCareRecordsConfigNew;
import top.tangyh.lamp.care.entity.BHl7Event;
import top.tangyh.lamp.care.vo.result.CartPgpfTempOutVO;
import top.tangyh.lamp.care.vo.save.BCareRecordsConfigNewSaveVO;
import top.tangyh.lamp.care.vo.save.CareRecordDataVO;
import top.tangyh.lamp.care.vo.save.CareRecordsConfigSaveVO;
import top.tangyh.lamp.care.vo.save.TimePlanInVO;
import top.tangyh.lamp.care.vo.update.BCareRecordsConfigNewUpdateVO;
import top.tangyh.lamp.care.vo.result.BCareRecordsConfigNewResultVO;
import top.tangyh.lamp.care.vo.query.BCareRecordsConfigNewPageQuery;
import top.tangyh.lamp.care.vo.update.CareRecordsConfigUpdateVO;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 业务接口
 * 新版本护理记录表单配置表
 * </p>
 *
 * @author zqb
 * @date 2024-08-05 15:12:19
 * @create [2024-08-05 15:12:19] [zqb] [代码生成器生成]
 */
public interface BCareRecordsConfigNewService extends SuperService<Long, BCareRecordsConfigNew> {


    Long saveCareRecordsConfigNew(CareRecordsConfigSaveVO vo);

    boolean saveBatchCareRecordsConfigNew(List<CareRecordsConfigSaveVO> vos);


    Integer batchUpdateCareRecordsConfigNew(List<CareRecordsConfigUpdateVO> listVo);


    List<BCareRecordsConfigNew> getIdObjectByPid(Long pid);


    List<BatchResult> updateBatchById(List<BCareRecordsConfigNew> list);


    List<BCareRecordsConfigNewResultVO> listCareRecordsConfig();

    List<BCareRecordsConfigNewResultVO> getAllcareConfig();


    List<BCareRecordsConfigNewResultVO> titleNoteTreeNew(String patientIdent,String hospitalNumber, BHl7Event yxHl7EventPORk );


    List<Map.Entry<String, List<Map>>> listOfDataNew(String patientIdent, String hospitalNumber, Long startTime, Long endTime);


    Map<String, TimePlanInVO> listofDataSave(CareRecordDataVO careRecordDataVO);


    CartPgpfTempOutVO listOfDataNewPgpfByTimeCode(String patientIdent, String hospitalNumber, Long recordTime, Long rkTime);

}


